package com.sky.service.impl;

import com.sky.dto.DishDTO;
import com.sky.entity.Dish;
import com.sky.mapper.DishMapper;
import com.sky.service.DishService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DishServiceImpl implements DishService {
//    @Autowired
//    private DishMapper dishMapper;
//    @Override
//    public void insert(DishDTO dishDTO) {
//        Dish dish =new Dish();
//        BeanUtils.copyProperties(dishDTO,dish);
//        dishMapper.insert(dish);
//    }
}
